:root {
  --main-color: #fff; /* Main color */
  --heading-text-color: #000; /* Heading text color*/
  --text-color: #222;
  --border-color: #59c1cf; /* Border color */
  --content-text-color: #333; /* Content text color */
  --button-background: #007bff; /* Button background color */
  --button-text-color: #fff; /* Button text color */
  --content-background-color: #3cb4e2; /* Content background color */
  --content-container-background: rgba(255, 255, 255, 0.9);
  --secondary-background-color: #333; /* Content background color */
  --secondary-content-color: #666; /* Secondary content color */
  --link-color: #007bff; /* Link color */
  --logo-light-blue: #3cb4e2; /* Light blue for logo */
  --logo-teal: #59c1cf; /* Teal for logo */
  --logo-gradient: linear-gradient(to bottom, var(--logo-light-blue), var(--logo-teal)); /* Logo gradient */
  --background-gradient: linear-gradient(to bottom, var(--main-color), var(--main-color), var(--secondary-background-color)); /* Logo gradient */
}

/* Hero Section Styles */
.hero-container {
  background: var(--logo-gradient);
  z-index: 4;
}

.hero-section {
  background-position: right bottom; 
  background-image: url('images/hero-background.png?4');
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  text-align: left;
  margin-top: -1em;
  padding: 1em 0 8em 2em;
  position: relative;
  overflow: hidden;
  max-height: 500px;
  z-index: 3;
  justify-content: flex-end; /* Aligns child content to the right */
}

.hero-section-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-items: center; /* Center-aligns the flex children vertically */
  text-align: center; /* Ensures text inside is centered */
  width: 100%; /* This makes sure the container takes up the full width */
}

/* Main heading */
.hero-heading {
  max-width: 70%;;
  font-size: 4rem; /* Larger font size for prominence */
  text-shadow: 2px 2px 8px #000000, -2px 0 8px #000000 !important;
  margin: 0.5em 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2); /* Soft shadow for depth */
}

/* Subheadline / Intro Text */
.hero-subheading {
  font-size: 1.5rem;
  max-width: 70%;
  text-shadow: 2px 2px 8px #000000, -2px 0 8px #000000;
  margin-bottom: 2em;
  opacity: 0.9;
}

/* CTA Button Style */
.cta-button {
  z-index: 1000;
  background-color: #fff;
  color: var(--logo-light-blue);
  border: 2px solid var(--logo-light-blue);
  border-radius: 5px;
  padding: 1em 2em;
  font-size: 1.2rem;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.2); /* Adding some shadow to lift the button off the page */
}

.cta-button:hover {
  background-color: var(--logo-teal);
  color: #fff;
  border-color: var(--logo-teal);
  box-shadow: 0px 6px 9px rgba(0,0,0,0.25);
  transform: translateY(-3px);
}

/* Floating Icons */
.hero-icon {
  width: 100px; /* Set a fixed width for your icons */
  animation: floatAnimation 3s ease-in-out infinite;
  transition: transform 0.3s;
  position: absolute;
  right: 0; /* Position icons to the right */
  bottom: 0; /* Position icons at the bottom of the hero section */
}

/* Floating animation applied to each icon */
@keyframes floatAnimation {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
  .hero-heading { font-size: 2.5rem; }
  .hero-subheading { font-size: 1rem; }
  .cta-button { padding: 0.8em 1.6em; font-size: 1rem; }
  .hero-icon { width: 80px; } /* Smaller icons on mobile */
}


html, body {
  font-family: 'Arial', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--content-text-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
  background: linear-gradient(to bottom right, #FFF, #59c1cf); /* Adjusted line */
}

html {
  background: var(--background-gradient);
  background-size: cover;
  background-repeat: no-repeat; 
}

body {
  width: 100%;
  height: 100%;
}

/* Double Diamond Styles */
.double-diamond {
  position: absolute;
  top: 50px; /* Adjust as needed */
  left: 50px; /* Adjust as needed */
  width: 140px; /* Adjust as needed */
  height: 100px; /* Adjust as needed */
  background-image: url('./images/Leverage DiamondsV2.png');
  background-size:contain;
  background-repeat: no-repeat;
  z-index: 1;
  animation: shimmer 5s infinite; /* Optional: Add animation */
}

/* Animation Keyframes (Optional) */
@keyframes shimmer {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 0.7; }
}

#page {
  position: relative; 
  width: 100%;
  margin: -3px -3px 0;
  z-index: 3;
}

.container {
  max-width: 1200px;
  font-size: 18px;
  margin: 0 auto;
  padding: 0 20px;
}

.container ul {
  text-align: left;
  margin-left: 20%;
}

.form-intro ul {
  text-align: left;
  margin-left: 20%;
}

.container h3 {
  font-size: 24px;
  font-weight: bolder;
}

.the2col {
  display: flex; 
  justify-content: space-between; 
  margin: 0 10%; 
}

.col1of2 {
  flex: 0 0 25%; 
}

.col2of2 {
  flex: 0 0 75%; 
  position: relative; 
}

.icons {
  border-radius: 2px;
  padding: 3px;
  height: 100px;
  width: 100px;
}

#tagline {
  position: relative;
  color: var(--heading-text-color);
  font-size: 1em;
  z-index: 100;
  bottom: 3em; /* i need to make sure this text does not wrap as it will mess with mobiles */
}

#header {
  color: var(--heading-text-color);
  background-color: #1d3564;
  padding-top: 2em;
  height: 8em;
  text-align: center;
}

#header h1 {
  font-size: 36px;
  color: var(--heading-text-color);
  margin-bottom: 10px;
}

#navigation {
  position: absolute;
  z-index: 300;
  top: -2em;
  margin-bottom: 0;
  left: 0;
  width: 100%;
  color: var(--button-text-color);
  padding: 15px 0 1em 0;
  text-align: center;
}

.navigation-button {
  background-color: var(--logo-teal);
  color: #fff;
  border: 1px solid var(--logo-light-blue);
  margin-top: 2em;
  border-radius: 2px;
  padding: 1em;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.navigation-button:hover {
  background-color: #fff;
  color: var(--logo-light-blue);
  border-color: var(--logo-teal);
  box-shadow: 0px 6px 9px rgba(0,0,0,0.25);
  transform: translateY(-3px);/* could we uno reverse this make the other buttons go dark when we hover on this */
  cursor: pointer;
}

#benefits, #how-it-works, #testimonials, #faq, #contact, #loanOptions {
  position: relative;
  padding: 0 20px 2em;
  font-size: 16px;
  background-color: var(--content-container-background);
  text-align: center;
  justify-content: space-between; 
  margin: 0 10% 3em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-gap: 20px;
  z-index: 100;
}

#privacyContent {
  position: relative;
  padding: 0 20px 2em;
  font-size: 18px;
  background-color: var(--content-container-background);
  text-align: left;
  justify-content: space-between; 
  margin: 2em 10% 3em;
  display: grid;
  grid-template-columns: repeat(auto-fit);
  grid-gap: 20px;
  z-index: 100;
}
#privacyContent h2{
  font-size: 28px;
  font-weight: bolder;
}

#privacyContent h3{
  font-size: 22px;
  font-weight: bold;
}

.testimonial-icon {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 60px; /* Adjust size as needed */
  height: 60px; /* Adjust size as needed */
  border-radius: 50%; /* Creates a circle */
  background-color: #59c1cf; /* Example color; adjust as needed */
  color: #fff; /* Adjust text color as needed */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px; /* Adjust based on preference */
  font-weight: bold; /* Optional: adds emphasis */
  font-family: 'Arial', sans-serif; /* Example font; adjust as needed */
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1); /* Optional: adds depth */
}

.testimonial {
  padding: 0 2em !important;
}

.loanOption {
  margin-bottom: 3em;
}

.contentHeader {
  position: relative;
  font-size: 24px;
  padding: 60px 0;
  background-color: var(--content-container-background);
  text-align: center;
  justify-content: space-between; 
  margin: 3em 10% 0;
  text-align: center;
  margin-bottom: 0;
  z-index: 3;
}

#footer {
  padding: 40px 20px;
  position: relative;
  background-color: var(--secondary-background-color);
  color: var(--button-text-color);
  border-top: 3px solid black;
  text-align: center;
  justify-content: space-between; 
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  grid-gap: 20px;
  z-index: 3;
}

#footerText {
  width:50%;
  min-width: 30em;
  margin: auto;
}

.section h2 {
  font-size: 30px;
  color: var(--heading-text-color);
  margin-bottom: 30px;
}

.section p {
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 20px;
}

.form-styled {
  background-color: var(--content-container-background);
  padding: 3em;
  margin: 2em auto;
}

.form-row {
  text-align: right;
  margin-top: 1em;
  margin-bottom: 1em;
  padding-right: 30%;
  font-size: 20px;
}

.form-label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-input {
  width: 100%;
  padding: 10px;
  max-width: 60%;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-sizing: border-box; /* Makes sure padding does not affect width */
}

textarea {
  width: 100%;
  padding: 10px;
  max-width: 60%;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-sizing: border-box; /* Makes sure padding does not affect width */
}

.form-select {
  padding: 10px;
  max-width: 60%;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-sizing: border-box; /* Makes sure padding does not affect width */
}

.button {
  background-color: var(--logo-light-blue);
  color: var(--button-text-color);
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #0056b3;
}

#loanPilotContent {
  padding: 0 20px 2em;
  font-size: 22px;
  background-color: var(--content-container-background);
  text-align: center;
  justify-content: space-between; 
  margin: 0 10% 3em;
  grid-gap: 20px;
  z-index: 100 !important;
}

#LoanTypeDescription p {
  margin: 0 150px;

}

#PrivacyPolicy {
  margin: 0 150px;
}

.loan-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.loan-type-block {
  background-color: var(--content-container-background);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  z-index: 301;
}

.loan-type-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.loan-icon {
  padding: 20px; /* Adjust based on actual icon size */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-background-color); /* Or any other color */
}

.loan-icon img {
  width: 50%; /* Adjust based on actual icon size */
}

.loan-description {
  padding: 15px;
}

.loan-description h3 {
  color: var(--heading-text-color);
  margin-top: 0;
}

.loan-description p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

input[type="text"],input[type="tel"],input[type="email"],input[type="datetime-local"], textarea, select {
  width: calc(100% - 40px);
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  #benefits .benefit,
  #how-it-works .step,
  #loanOptions .loanOption,
  #testimonials .testimonial,
  #faq .accordion {
    flex: 0 0 calc(50% - 20px); 
  }
}

@media screen and (max-width: 480px) {
  #benefits .benefit,
  #how-it-works .step,
  #loanOptions .loanOption,
  #testimonials .testimonial,
  #faq .accordion {
    flex: 0 0 calc(100% - 20px);
  }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .container {
      padding: 0 10px;
  }

  #header h1 {
      font-size: 24px;
  }

  .section h2 {
      font-size: 24px;
  }

  .section p {
      font-size: 16px;
  }

  .button {
      padding: 12px 24px;
      font-size: 16px;
  }

  input[type="text"], textarea, select {
      width: calc(100% - 30px);
      padding: 12px;
      font-size: 16px;
  }
}

hr {
  border: 3px black solid;
  margin: 1em;

}